package com.ssy.lingxi.settle.accounts.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 对账单附件DO
 * @author Saske
 * @date 2021/12/22
 * @version 2.0.0
 */
@Entity
@Table(schema = "public",name = "sa_business_reconciliation_file",
        indexes = {@Index(name = "sa_business_reconciliation_file_reconciliationNo_idx",columnList = "reconciliationNo")
        })
public class ReconciliationFileDO implements Serializable {

    private static final long serialVersionUID = -15981655248741L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "business_reconciliation_file_seq")
    @SequenceGenerator(sequenceName = "sa_business_reconciliation_file_seq", name = "business_reconciliation_file_seq", allocationSize = 1)
    private Long id;

    /**
     * 对账单号
     */
    @Column(name = "reconciliationNo",columnDefinition = "varchar(50)")
    private String reconciliationNo;

    /**
     * 账单明细附件
     */
    @Column(name = "fileName")
    private String fileName;

    /**
     * 账单明细附件
     */
    @Column(name = "fileUrl")
    private String fileUrl;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReconciliationNo() {
        return reconciliationNo;
    }

    public void setReconciliationNo(String reconciliationNo) {
        this.reconciliationNo = reconciliationNo;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
}
